//This class will get the following output using for loop
/*
 * *
 * ***
 * *****
 * *******
 * *********
 * 
 * 
 */
public class HwProgram2 {

	public static void main(String[] args) {
		String[] starString = new String[5];
		
		starString[0] = "*";
		starString[1] = "***";
		starString[2] = "*****";
		starString[3] = "*******";
		starString[4] = "*********";
		
		int i;
		for(i=0; i<starString.length; i++){
			
			System.out.println(starString[i]);
		}
		
		

	}

}
